package com.springsummer.information.green.hello;

public class OneService {

    private TwoService twoService;

    public void sayHello(String name){
        String str="OneService sayHello "+name;
        System.out.println(str);
        twoService.sayHello(name+":one");
    }

    public TwoService getTwoService() {
        return twoService;
    }

    public void setTwoService(TwoService twoService) {
        this.twoService = twoService;
    }

}
